package com.kikoulol.jarmoryextactor;

import com.kikoulol.jarmoryextactor.utils.Utils;

public class Armory {
	
	public static final String EUROPE = "http://eu.wowarmory.com/";
	public static final String USA = "http://www.wowarmory.com/";
	public static final String KOREA = "http://kr.wowarmory.com/";
	public static final String CHINA = "http://cn.wowarmory.com/";
	public static final String TAIWAN = "http://tw.wowarmory.com/";
	
	private String armoryUrl;
	private String battleGroupName; 
	
	
	public Armory(String region, String battleGroupName) {
		this.armoryUrl = region;
		this.battleGroupName = battleGroupName;
	}
	
	public Ladder get2v2Ladder() throws Exception {
		return new Ladder(Ladder.TWO,armoryUrl,battleGroupName);
	}
	
	public Ladder get3v3Ladder() throws Exception {
		return new Ladder(Ladder.THREE,armoryUrl,battleGroupName);
	}
	
	public Ladder get5v5Ladder() throws Exception {
		return new Ladder(Ladder.FIVE,armoryUrl,battleGroupName);
	}
	
	public Ladder getLadder(String type) throws Exception {
		return new Ladder(type,armoryUrl,battleGroupName);
	}

	public String getArmoryUrl() {
		return armoryUrl;
	}

	public void setArmoryUrl(String armoryUrl) {
		this.armoryUrl = armoryUrl;
	}

	public String getBattleGroupName() {
		return battleGroupName;
	}

	public void setBattleGroupName(String battleGroupName) {
		this.battleGroupName = battleGroupName;
	}

}
